package band.wukong.practice.springcloud.quickstart.qk04.feign;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

/**
 * http://localhost:9006/hystrix/
 * http://localhost:9006/hystrix.stream
 *
 * http://projects.spring.io/spring-cloud/spring-cloud.html#_circuit_breaker_hystrix_clients
 *
 * @author wukong(wukonggg@139.com)
 */
@EnableHystrix
@EnableHystrixDashboard
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
public class Qk04HystrixWithFeignApplication {

    public static void main(String[] args) {
        SpringApplication.run(Qk04HystrixWithFeignApplication.class, args);
    }
}
